package com.example.last.dao;

import com.example.last.entity.Params;
import com.example.last.entity.Test;
import com.example.last.entity.Test;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TestDao {

    List<Test> findBySearch(@Param("params") Params params);

    void add(Test test);

    void update(Test test);

    void delete(Integer id);

}